//
//  LYMineIntrestBtn.m
//  artist
//
//  Created by Jay_Apple on 16/5/9.
//  Copyright © 2016年 viviyoo. All rights reserved.
//

#import "LYMineIntrestBtn.h"

@implementation LYMineIntrestBtn


- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event {

    BOOL res = [super pointInside:point withEvent:event];
    
    if (res) {
        
        CGRect touchRect = CGRectMake(self.My_Width - 30, 0, 30, self.My_Height);
        
       return  CGRectContainsPoint(touchRect, point);
        
    }else{
    
    
        return NO;
    }
    
}


@end
